import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import GlobalComDemo from './components/GlobalComDemo.vue'

import router from './router';

//引入vuex实例
import store from './store';

//引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App);
app.component(GlobalComDemo.name, GlobalComDemo)

app.use(router)

//挂载
app.use(store)

//挂载elementplus
app.use(ElementPlus)

app.mount('#app')
